﻿<%@ Page Language="C#" MasterPageFile="~/TrangChu.Master" AutoEventWireup="true" CodeBehind="Dangnhap.aspx.cs" Inherits="DOAN.Dangnhap" Title="Untitled Page" %>
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel ="Stylesheet" href="Style/style.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="content-right">
         <div class="title_right">
            <p class="fs24 cl2 fi font_time">
                <img src="Imagine/icon_right_title.png" />Đăng nhập</p>
        </div>
        <asp:Panel ID="pnDangnhap" runat="server">
        <div class="register mart22">
            <asp:Label ID= "lblLoi" runat ="server"></asp:Label>
        </div>
        <div class ="register mart22">
            <div class ="label">
                <asp:Label ID="lblTendn2" runat="server" Text="Tên đăng nhập"></asp:Label>
                
            </div>
            <div class="text_box">
                <asp:TextBox ID="txtTendangnhap" runat="server"></asp:TextBox><br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Bạn chưa nhập tên tài khoản."
                ValidationGroup="testdn" ControlToValidate="txttendangnhap" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="register mart22">
            <div class="label">
                <asp:Label ID="lblMatkhau2" runat="server" Text="Mật khẩu"></asp:Label><br />
                
            </div>
            <div class="text_box">
                <asp:TextBox ID="txtMatkhau2" runat="server" TextMode="Password"></asp:TextBox><br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Bạn chưa nhập mật khẩu."
                ValidationGroup="testdn" ControlToValidate="txtMatkhau2" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
            </div>
        
        <div class="register mart22">
            
            <div class="text_box">
                <cc1:CaptchaControl ID="ccJoin"
     runat="server" 
     CaptchaBackgroundNoise="Extreme" 
     CaptchaLength="5" 
     CaptchaHeight="60" 
     CaptchaWidth="250" 
     CaptchaLineNoise="None" 
     CaptchaMinTimeout="5"
     CaptchaMaxTimeout="240" FontColor="Blue" LineColor="Blue" NoiseColor="Peru" 
           ForeColor="#FF9999" />
            </div>
            <div class ="register mart22">
            <div class ="label">
                <asp:Label ID="Label1" runat="server" Text="Mã bảo vệ"></asp:Label>
                
            </div>
            <div class="text_box">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
                <asp:Label ID="Label3" runat="server" style="color: #FF3300"></asp:Label>
                
            </div>
        <div class ="register mart22">
            <asp:CheckBox ID="chkNhomk" runat="server" Text="Nhớ mật khẩu (1 tháng)" />  <br />
        <asp:LinkButton ID="LinkButton1" runat="server" onclick="QuenMK_Click">Bạn quên mật khẩu ?</asp:LinkButton>
      
        
        
 <br /> <br />
            <asp:Button ID="btDangnhap" runat="server" Text="Đăng nhập" 
                onclick="btDangnhap_Click"  ValidationGroup="testdn"/>
        </div>
        </div>
        </div>
         </asp:Panel>
         
    </div>
</asp:Content>